package com.lagou.mmclass;

import java.util.Scanner;

public class ClientScanner {
    private static Scanner sc=new Scanner(System.in);

    /**
     *
     *自定义成员方法实现扫描器的获取
     * @return
     */

    public static Scanner getScanner(){
        return sc;
    }
    public static void closeScanner(){
        sc.close();
    }
}
